package com.pcbly.web.bean.project;

import java.util.Date;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;
 
public class TaskBean extends AbstractBaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2742695686299320992L;

	
	private String parentId;

	
	private String stepId;

	
	private String taskName;

	
	private String tempTaskId;

	
	private String userId;

	
	private String groupId;

	
	private String projectOwned;

	
	private Date createDate;

	
	private Date modifiedDate;

	
	private int estimatedDuration;

	
	private Date estimatedEndTime;

	
	private int actualDuration;

	
	private Date actualEndTime;

	
	private Date remindTime;

	
	private String projectId; 

	
	private String workflowId; 

	
	private String customerId; 

	
	private String taskStatus;

	
	private String taskType;

	
	private String docId;

	
	private String isNeedAppraved;

	
	private String description;

	
	private String priority;

	
	private String isMilestone;

	
	private String milestoneName;

	
	private String milestoneStatus;

	
	private Float progress;

	
	private String belongToTemp;

	
	private Float depth;

	
	private int orderNum;

	
	private Date startDate;

	
	private String recycled;

	
	private String taskUrl;

	/** default constructor */
	public TaskBean() {
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getStepId() {
		return this.stepId;
	}

	public void setStepId(String stepId) {
		this.stepId = stepId;
	}

	public String getTaskName() {
		return this.taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public String getTempTaskId() {
		return this.tempTaskId;
	}

	public void setTempTaskId(String tempTaskId) {
		this.tempTaskId = tempTaskId;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getProjectOwned() {
		return this.projectOwned;
	}

	public void setProjectOwned(String projectOwned) {
		this.projectOwned = projectOwned;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifiedDate() {
		return this.modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	public int getEstimatedDuration() {
		return this.estimatedDuration;
	}

	public void setEstimatedDuration(int estimatedDuration) {
		this.estimatedDuration = estimatedDuration;
	}

	public Date getEstimatedEndTime() {
		return this.estimatedEndTime;
	}

	public void setEstimatedEndTime(Date estimatedEndTime) {
		this.estimatedEndTime = estimatedEndTime;
	}

	public int getActualDuration() {
		return this.actualDuration;
	}

	public void setActualDuration(int actualDuration) {
		this.actualDuration = actualDuration;
	}

	public Date getActualEndTime() {
		return this.actualEndTime;
	}

	public void setActualEndTime(Date actualEndTime) {
		this.actualEndTime = actualEndTime;
	}

	public Date getRemindTime() {
		return this.remindTime;
	}

	public void setRemindTime(Date remindTime) {
		this.remindTime = remindTime;
	}

	public String getProjectId() {
		return this.projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}
 

	public String getWorkflowId() {
		return this.workflowId;
	}

	public void setWorkflowId(String workflowId) {
		this.workflowId = workflowId;
	} 

	public String getCustomerId() {
		return this.customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	} 

	public String getTaskStatus() {
		return this.taskStatus;
	}

	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}

	public String getTaskType() {
		return this.taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	public String getDocId() {
		return this.docId;
	}

	public void setDocId(String docId) {
		this.docId = docId;
	}

	public String getIsNeedAppraved() {
		return this.isNeedAppraved;
	}

	public void setIsNeedAppraved(String isNeedAppraved) {
		this.isNeedAppraved = isNeedAppraved;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getPriority() {
		return this.priority;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	public String getIsMilestone() {
		return this.isMilestone;
	}

	public void setIsMilestone(String isMilestone) {
		this.isMilestone = isMilestone;
	}

	public String getMilestoneName() {
		return this.milestoneName;
	}

	public void setMilestoneName(String milestoneName) {
		this.milestoneName = milestoneName;
	}

	public String getMilestoneStatus() {
		return this.milestoneStatus;
	}

	public void setMilestoneStatus(String milestoneStatus) {
		this.milestoneStatus = milestoneStatus;
	}

	public Float getProgress() {
		return this.progress;
	}

	public void setProgress(Float progress) {
		this.progress = progress;
	}

	public String getBelongToTemp() {
		return this.belongToTemp;
	}

	public void setBelongToTemp(String belongToTemp) {
		this.belongToTemp = belongToTemp;
	}

	public Float getDepth() {
		return this.depth;
	}

	public void setDepth(Float depth) {
		this.depth = depth;
	}

	public int getOrderNum() {
		return this.orderNum;
	}

	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}

	public Date getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public String getRecycled() {
		return this.recycled;
	}

	public void setRecycled(String recycled) {
		this.recycled = recycled;
	}

	public String getTaskUrl() {
		return this.taskUrl;
	}

	public void setTaskUrl(String taskUrl) {
		this.taskUrl = taskUrl;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
